package pojo.log.assetSecondment;


/**
 * @author HGD
 * @date 2022/10/4 22:48
 */
public enum AssetSecondmentResultEnum {
    /**
     * CREATE 创建资产申请
     * APPROVAL_AGREE 部门审批员通过申请
     * APPROVAL_DISAGREE 部门审批员不通过申请
     * ASSET_MANAGER_AGREE 资产管理员通过申请
     * ASSET_MANAGER_DISAGREE 资产管理员不通过申请
     * OPERATION_AGREE 运维人员通过申请
     * OPERATION_DISAGREE 运维人员不通过申请
     * REPOSITORY_MANAGER_AGREE 仓库管理员通过申请
     * REPOSITORY_MANAGER_DISAGREE 仓库管理员不通过申请
     */

    CREATE(0, "创建资产申请"),

    // 资产借用
    APPROVAL_AGREE(1, "部门审批员通过申请"),
    // 资产调用
    INFORMATION_AGREE(2, "信息管理部经理同意"),
    CHARGE_LEADER_AGREE(3, "分管领导同意"),
    FINANCIAL_AGREE(4, "财务人员同意"),

    ASSET_MANAGER_AGREE(5, "资产管理员通过申请"),
    OPERATION_AGREE(6, "运维人员通过申请"),
    REPOSITORY_MANAGER_AGREE(7, "仓库管理员通过申请"),
    FAILED(8, "拒绝申请");

    private final Integer key;
    private final String value;

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    AssetSecondmentResultEnum(Integer key, String value) {
        this.key = key;
        this.value = value;
    }
}
